using System.ComponentModel.DataAnnotations;

namespace BW.Demo.Domain.Entities
{
    /// <summary>
    /// 溯源管理详情-屠宰信息
    /// </summary>
    public class SlaughteringInformation
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int SlaughteringId { get; set; }

        /// <summary>
        /// 屠宰批次
        /// </summary>
        [MaxLength(50)]
        public string SlaughteringrBatch { get; set; } = string.Empty;

        /// <summary>
        /// 到场均重
        /// </summary>
        public int Average_Weight { get; set; }

        /// <summary>
        /// 到厂时间
        /// </summary>
        public DateTime Arrival_Time { get; set; }

        /// <summary>
        /// 屠宰时间
        /// </summary>
        public DateTime Slaughtering_Time { get; set; }

        /// <summary>
        /// 生产批次
        /// </summary>
        [MaxLength(50)]
        public string Batch { get; set; } = string.Empty;
    }
}
